libxc: Expose xc_reserved_device_memory_map to ARM too
authorJulien Grall <julien.grall@citrix.com>
Thu, 23 Jul 2015 16:47:09 +0000 (17:47 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 23 Jul 2015 18:20:48 +0000 (19:20 +0100)
commitb4a044f6e8b5da47790d44ba0b93fa12c1819642
tree30f2bff83323987ef9ad9dd93698e1463bd1bbe0
parenta619657e2d5725a61cb72f65901db42e98f2a896
libxc: Expose xc_reserved_device_memory_map to ARM too

The commit 25652f2 "tools/libxl: detect and avoid conflicts with RDM"
introduced the usage of xc_reserved_device_memory_map in the libxl
generic code. But the function is only defined for x86 which breaks the
ARM build.

The hypercall called by this helper is implemented in the generic code
and doesn't contain any x86 specific code. Therefore, it's fine to
expose the helper to ARM.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
CC: Ian Jackson <ian.jackson@eu.citrix.com>
CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Tiejun Chen <tiejun.chen@intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_domain.c